﻿beautiful_peasant_character = {
	age = { 18 35 }
	random_traits_list = {
		count = 1
		beauty_good_2 = {}
		beauty_good_3 = {}
	}
	dynasty = generate
	random_traits = yes
	faith = this.faith
	culture = this.culture
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
	after_creation = {
		shogunate_set_fictional_nickname_effect = yes
	}
}

servant_character = {
	age = { 18 40 }
	random_traits = yes
	culture = this.culture
	faith = this.faith
	dynasty = generate
	gender_female_chance = 50
	intrigue = {
		min_template_decent_skill
		max_template_decent_skill
	}
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		add_character_flag = peasant_outfit
		shogunate_set_fictional_nickname_effect = yes
	}
}

witchy_template = {
	age = { 15 63 }
	gender_female_chance = 50
	culture = root.culture
	faith = root.faith
	dynasty = generate
	random_traits = no

	#Education
	random_traits_list = {
		count = 1
		education_intrigue_2  = {}
		education_intrigue_3  = {}
		education_intrigue_4  = {}
		education_learning_2  = {}
		education_learning_3  = {}
		education_learning_4  = {}
		education_diplomacy_3  = {}
		education_diplomacy_4  = {}
	}
	#Personality trait 1 (main)
	random_traits_list = {
		count = 1
		lustful = {}
		deceitful = {}
		brave = {}
		gregarious = {}
		ambitious = {}
		vengeful = {}
	}
	#Personality trait 2-3
	random_traits_list = {
		count = 2
		lustful = {}
		deceitful = {}
		brave = {}
		gregarious = {}
		ambitious = {}
		vengeful = {}
		gluttonous = {}
		temperate  = {}
		greedy = {}
		generous = {}
		lazy = {}
		diligent = {}
		wrathful = {}
		calm = {}
		patient = {}
		impatient = {}
		arrogant = {}
		honest = {}
		arbitrary = {}
		just = {}
		paranoid = {}
		trusting = {}
		compassionate = {}
		callous = {}
		sadistic = {}
		stubborn = {}
		fickle = {}
		forgiving = {}
	}
	random_traits_list = {
		count = 1
		beauty_good_1 = {}
		beauty_good_2 = {}
		beauty_good_3 = {}
		intellect_good_1 = {}
		intellect_good_2 = {}
		intellect_good_3 = {}
		shrewd  = {}
		fecund = {}
		dwarf = {}
		giant = {}
		albino = {}
		bleeder = {}
		lunatic_1 = {}
		possessed_1 = {}
	}
	random_traits_list = {
		count = 1
		lifestyle_herbalist = {}
		schemer = {}
		seducer = {}
		torturer = {}
		whole_of_body = {}
		scholar = {}
	}
	after_creation = {
		shogunate_set_fictional_nickname_effect = yes
	}
}


merchant_template = {
	age = { 20 40 }
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
		education_stewardship_3 = {}
		education_stewardship_4 = {}
	}
	dynasty = generate
	random_traits = yes
	faith = this.faith
	culture = this.culture
	gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
	stewardship = {
		min_template_decent_skill
		max_template_decent_skill
	}
	prowess = { 2 10 }
	martial = { 2 10 }
	diplomacy = { 5 13 }
	learning = { 5 13 }
	after_creation = {
		shogunate_set_fictional_nickname_effect = yes
	}
}

hunter_template = {
	age = { 18 50 }
	dynasty = generate
	random_traits = yes
	faith = this.faith
	culture = this.culture
	gender_female_chance = root_soldier_female_chance
	prowess = {
		min_template_decent_skill
		max_template_decent_skill
	}
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
	}
	trait = lifestyle_hunter
	random_traits_list = {
		count = 1
		brave = {}
		calm = {}
		shy = {}
		patient = {}
		physique_good_1 = {}
		physique_good_2 = {}
		strong = {}
		deceitful = {}
		greedy = {}
		callous = {}
		diligent = {}
		arrogant = {}
		stubborn = {}
		athletic = {}
	}
	after_creation = {
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = no
			LEVEL_3 = yes
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

falconer_template = {
	age = { 18 50 }
	dynasty = generate
	random_traits = yes
	faith = this.faith
	culture = this.culture
	gender_female_chance = root_soldier_female_chance
	prowess = {
		min_template_decent_skill
		max_template_decent_skill
	}
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
	}
	trait = lifestyle_hunter
	random_traits_list = {
		count = 1
		brave = {}
		calm = {}
		shy = {}
		patient = {}
		physique_good_1 = {}
		physique_good_2 = {}
		strong = {}
		deceitful = {}
		greedy = {}
		callous = {}
		diligent = {}
		arrogant = {}
		stubborn = {}
		athletic = {}
	}
	after_creation = {
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = falconer
			LEVEL_1 = no
			LEVEL_3 = yes
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

detective_template = {
	age = { 30 40 }
	dynasty = generate
	faith = this.faith
	culture = this.culture
	gender_female_chance = 0
	random_traits = yes
	random_traits_list = {
		count = 1
		education_learning_1 = {}
		education_learning_2 = {}
		education_learning_3 = {}
	}
	random_traits_list = {
		count = 1
		intellect_good_1 = {}
		intellect_good_2 = {}
	}
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	stewardship = { 2 10 }
	prowess = { 5 13 }
	diplomacy = { 2 10 }
	learning = { 5 10 }
	after_creation = {
		shogunate_set_fictional_nickname_effect = yes
	}
}

generic_peasant_character = {
	age = { 18 50 }
	random_traits = yes
	culture = root.culture
	faith = root.faith
	gender_female_chance = 50
	dynasty = generate
	random_traits_list = {
		count = 1
		education_learning_1 = {}
		education_martial_1 = {}
		education_intrigue_1 = {}
		education_diplomacy_1 = {}
		education_stewardship_1 = {}
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		add_character_flag = peasant_outfit
		shogunate_set_fictional_nickname_effect = yes
	}
}

generic_female_peasant_character = {
	age = { 18 50 }
	random_traits = yes
	culture = root.culture
	faith = root.faith
	gender = female
	dynasty = generate
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		add_character_flag = peasant_outfit
		shogunate_set_fictional_nickname_effect = yes
	}
}

challenger_peasant_character = {
	age = { 18 45 }
	dynasty = generate
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	faith = root.faith
	culture = root.culture
	trait = zealous
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	stewardship = { 2 4 }
	prowess = { 5 13 }
	diplomacy = { 2 6 }
	learning = { 5 7 }
	after_creation = {
		shogunate_set_fictional_nickname_effect = yes
	}
}

peasant_character = {
	age = { 18 40 }
	dynasty = generate
	trait = peasant_leader
	random_traits = yes
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		add_character_flag = peasant_outfit
		shogunate_set_fictional_nickname_effect = yes
	}
}

drunken_peasant_character = {
	age = { 18 45 }
	dynasty = generate
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	faith = root.faith
	culture = root.culture
	trait = drunkard
	trait = peasant_leader
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	prowess = { 5 13 }
	after_creation = {
		shogunate_set_fictional_nickname_effect = yes
	}
}

diseased_peasant_character = {
	age = { 18 45 }
	dynasty = generate
	random_traits = yes
	gender_female_chance = 50
	faith = root.faith
	culture = root.culture
	trait = peasant_leader
	random_traits_list = {
		count = { 1 3 }
		consumption = {}
		typhus = {}
		lovers_pox = {}
		great_pox = {}
		pneumonic = {}
	}
	health = 6
	after_creation = {
		shogunate_set_fictional_nickname_effect = yes
	}
}

peasant_child_character = {
	age = { 3 15 }
	dynasty = generate
	gender_female_chance = 50
	random_traits = yes
	after_creation = {
		add_character_flag = peasant_outfit
		shogunate_set_fictional_nickname_effect = yes
	}
}

peasant_young_child_character = {
	age = { 6 12 }
	dynasty = generate
	gender_female_chance = 50
	random_traits = yes
	after_creation = {
		add_character_flag = peasant_outfit
		shogunate_set_fictional_nickname_effect = yes
	}
}

peasant_toddler_character = {
	age = { 3 8 }
	dynasty = generate
	gender_female_chance = 50
	random_traits = yes
	after_creation = {
		shogunate_set_fictional_nickname_effect = yes
	}
}

bandit_character_generic = {
	age = { 20 40 }
	random_traits = no
	dynasty = generate
	random_traits_list = {
		count = 1
		education_martial_1 = { weight = { base = 50 } }
		education_martial_2 = { weight = { base = 20 } }
		education_martial_3 = { weight = { base = 5 } }
	}
	random_traits_list = {
		count = 2
		ambitious = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		callous = {}
		stubborn = {}
		vengeful = {}
		greedy = {}
		zealous = {}
		lazy = {}
		deceitful = {}
		arrogant = {}
		gluttonous = {}
	}
	random_traits_list = {
		count = 1
		intellect_bad_1 = { weight = { base = 10 } }
		intellect_bad_2 = { weight = { base = 10 } }
		physique_good_1 = { weight = { base = 5 } }
		physique_good_2 = { weight = { base = 5 } }
		strong = { weight = { base = 5 } }
		giant = { weight = { base = 5 } }
		reckless = { weight = { base = 20 } }
		rough_terrain_expert = { weight = { base = 20 } }
		unyielding_defender = { weight = { base = 10 } }
		flexible_leader = { weight = { base = 10 } }
		forder = { weight = { base = 10 } }
		tourney_participant = { weight = { base = 20 } }
	}
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	after_creation = {
		random_list = {
			10 = {}
			10 = {
				add_random_tiered_trait_track_xp_effect = {
					TRAIT = tourney_participant
					TRACK = horse
					LEVEL_1 = yes
					LEVEL_3 = no
				}
			}
			10 = {
				add_random_tiered_trait_track_xp_effect = {
					TRAIT = tourney_participant
					TRACK = bow
					LEVEL_1 = yes
					LEVEL_3 = no
				}
			}
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

bandit_character = {
	age = { 20 40 }
	random_traits = no
	dynasty = generate
	faith = root.location.county.holder.faith
	culture = root.location.culture
	random_traits_list = {
		count = 1
		education_martial_1 = { weight = { base = 50 } }
		education_martial_2 = { weight = { base = 20 } }
		education_martial_3 = { weight = { base = 5 } }
	}
	random_traits_list = {
		count = 2
		ambitious = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		callous = {}
		stubborn = {}
		vengeful = {}
		greedy = {}
		zealous = {}
		lazy = {}
		deceitful = {}
		arrogant = {}
		gluttonous = {}
	}
	random_traits_list = {
		count = 1
		intellect_bad_1 = { weight = { base = 10 } }
		intellect_bad_2 = { weight = { base = 10 } }
		physique_good_1 = { weight = { base = 5 } }
		physique_good_2 = { weight = { base = 5 } }
		strong = { weight = { base = 5 } }
		giant = { weight = { base = 5 } }
		reckless = { weight = { base = 20 } }
		rough_terrain_expert = { weight = { base = 20 } }
		unyielding_defender = { weight = { base = 10 } }
		flexible_leader = { weight = { base = 10 } }
		forder = { weight = { base = 10 } }
		tourney_participant = { weight = { base = 20 } }
	}
	gender_female_chance = root_soldier_female_chance
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	after_creation = {
		random_list = {
			10 = {}
			10 = {
				add_random_tiered_trait_track_xp_effect = {
					TRAIT = tourney_participant
					TRACK = horse
					LEVEL_1 = yes
					LEVEL_3 = no
				}
			}
			10 = {
				add_random_tiered_trait_track_xp_effect = {
					TRAIT = tourney_participant
					TRACK = bow
					LEVEL_1 = yes
					LEVEL_3 = no
				}
			}
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

criminal_brains_character = {
	age = { 20 40 }
	random_traits = yes
	dynasty = generate
	faith = root.location.faith
	culture = root.location.culture
	trait = gallowsbait
	trait = shrewd
	random_traits_list = {
		count = 1
		education_diplomacy_1 = {}
		education_diplomacy_2 = {}
		education_diplomacy_3 = {}
	}
	random_traits_list = {
		count = 3
		ambitious = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		callous = {}
		stubborn = {}
		vengeful = {}
		greedy = {}
		zealous = {}
		diligent = {}
		deceitful = {}
		arrogant = {}
	}
	gender_female_chance = root_soldier_female_chance
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	prowess = {
		min_template_low_skill
		max_template_low_skill
	}
	after_creation = {
		random_list = {
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = bandit
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = trickster
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = thief
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = poacher
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = marauder
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

criminal_brawn_character = {
	age = { 20 40 }
	random_traits = yes
	dynasty = generate
	faith = root.location.faith
	culture = root.location.culture
	trait = gallowsbait
	trait = strong
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
		education_martial_3 = {}
	}
	random_traits_list = {
		count = 3
		ambitious = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		callous = {}
		stubborn = {}
		vengeful = {}
		greedy = {}
		zealous = {}
		diligent = {}
		deceitful = {}
		arrogant = {}
	}
	gender_female_chance = root_soldier_female_chance
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	prowess = {
		min_template_low_skill
		max_template_low_skill
	}
	after_creation = {
		random_list = {
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = bandit
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = trickster
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = thief
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = poacher
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = marauder
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

criminal_fingers_character = {
	age = { 20 40 }
	random_traits = yes
	dynasty = generate
	faith = root.location.faith
	culture = root.location.culture
	trait = gallowsbait
	random_traits_list = {
		count = 1
		clubfooted = {}
		hunchbacked = {}
		lisping = {}
		stuttering = {}
		dwarf = {}
		impotent = {}
		spindly = {}
		scaly = {}
		albino = {}
		wheezing = {}
		bleeder = {}
		disloyal = {}
	}
	random_traits_list = {
		count = 1
		education_intrigue_1 = {}
		education_intrigue_2 = {}
		education_intrigue_3 = {}
	}
	random_traits_list = {
		count = 3
		ambitious = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		callous = {}
		stubborn = {}
		vengeful = {}
		greedy = {}
		zealous = {}
		diligent = {}
		deceitful = {}
		arrogant = {}
	}
	gender_female_chance = root_soldier_female_chance
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	prowess = {
		min_template_low_skill
		max_template_low_skill
	}
	after_creation = {
		random_list = {
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = bandit
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = trickster
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = thief
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = poacher
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = marauder
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

guide_character = {
	age = { 18 40 }
	random_traits = yes
	culture = root.location.county.holder.culture
	faith = root.location.faith
	dynasty = generate
	gender_female_chance = 50
	stewardship = {
		min_template_decent_skill
		max_template_decent_skill
	}
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
	after_creation = {
		shogunate_set_fictional_nickname_effect = yes
	}
}

tournament_locale_character = {
	age = { 18 40 }
	random_traits = yes
	culture = scope:activity.activity_location.culture
	faith = scope:activity.activity_location.faith
	dynasty = generate
	gender_female_chance = activity_host_faith_dominant_gender_adjusted_female_chance
	intrigue = {
		min_template_decent_skill
		max_template_decent_skill
	}
	after_creation = {
		shogunate_set_fictional_nickname_effect = yes
	}
}

child_peasant_character = {
	age = { 6 14 }
	dynasty = generate
	random_traits = yes
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		add_character_flag = peasant_outfit
		shogunate_set_fictional_nickname_effect = yes
	}
}

servant_father_character = {
	age = { 16 36 }
	random_traits = yes
	dynasty = generate
	gender = male
	intrigue = {
		min_template_decent_skill
		max_template_decent_skill
	}
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		add_character_flag = peasant_outfit
		shogunate_set_fictional_nickname_effect = yes
	}
}

jester_template = {
	age = { 16 50 }
	random_traits = yes
	dynasty = generate
	gender_female_chance = 50
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
	random_traits_list = {
		count = 1
		gregarious = {}
		stubborn = {}
		shrewd = {}
		poet = {}
		athletic = {}
	}
	after_creation = {
		shogunate_set_fictional_nickname_effect = yes
	}
}

weird_sailor_template = {
	gender_female_chance = root_soldier_female_chance
	random_traits = yes
	dynasty = generate
	culture = root.location.culture
	faith = root.location.faith

	age = { 45 60 }
	trait = eccentric
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
	}

	random_traits_list = {
		count = 2
		brave = {}
		arrogant = {}
		gregarious = {}
		honest = {}
		ambitious = {}
		stubborn = {}
		wrathful = {}
	}
	random_traits_list = {
		count = 1
		logistician = {}
		organizer = {}
		forder = {}
	}
	trait = one_legged
	stewardship = {
		min_template_decent_skill
		max_template_decent_skill
	}
	after_creation = {
		shogunate_set_fictional_nickname_effect = yes
	}
}

criminal_thief_bandit_character = {
	age = { 20 40 }
	random_traits = yes
	dynasty = generate
	faith = root.location.faith
	culture = root.location.culture
	trait = gallowsbait
	random_traits_list = {
		count = 1
		education_martial_2 = {}
		education_martial_3 = {}
	}
	random_traits_list = {
		count = 1
		ambitious = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		callous = {}
		stubborn = {}
		vengeful = {}
	}
	gender_female_chance = root_soldier_female_chance
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	prowess = {
		min_template_low_skill
		min_template_decent_skill
	}
	after_creation = {
		laamp_rewards_apply_criminal_xp_effect = {
			TRACK = bandit
			XP_MAX = gallowsbait_xp_massive_gain
			XP_MIN = gallowsbait_xp_major_gain
		}
		laamp_rewards_apply_criminal_xp_effect = {
			TRACK = thief
			XP_MAX = gallowsbait_xp_massive_gain
			XP_MIN = gallowsbait_xp_major_gain
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

generic_peasant_character_no_rags = {
	age = { 18 50 }
	random_traits = yes
	culture = root.culture
	faith = root.faith
	gender_female_chance = 50
	dynasty = generate
	random_traits_list = {
		count = 1
		education_learning_1 = {}
		education_martial_1 = {}
		education_intrigue_1 = {}
		education_diplomacy_1 = {}
		education_stewardship_1 = {}
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

settlement_elder_character = {
	age = { 50 70 }
	random_traits = yes
	culture = root.culture
	faith = root.faith
	gender_female_chance = 50
	dynasty = generate
	random_traits_list = {
		count = 1
		education_intrigue_1 = {}
		education_diplomacy_1 = {}
		education_stewardship_1 = {}
		education_intrigue_2 = {}
		education_diplomacy_2 = {}
		education_stewardship_2 = {}
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_decent_skill
		max_template_decent_skill
	}
	diplomacy = {
		min_template_average_skill
		max_template_average_skill
	}
	intrigue = {
		min_template_average_skill
		max_template_average_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		if = {
			limit = {
				root.location = {
					OR = {
						has_holding_type = castle_holding
						has_holding_type = city_holding
						has_holding_type = church_holding
					}
				}
			}
			random_list = {
				1 = { add_trait = education_republican_knowledge_2 }
				1 = { add_trait = education_republican_knowledge_3 }
				1 = { add_trait = education_republican_knowledge_4 }
			}
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}
